package com.cli.apisdk.controller;

import com.cli.apisdk.model.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author mir.xiong
 * @version 1.0
 * @description
 * @see
 * @since Created by work on 2022/7/19 17:41
 */
@RestController
@RequestMapping("/hello")
public class HelloController {


    @GetMapping("/user")
    public String test(User user) {
        return user.toString();
    }
}
